From: Lionel Landwerlin Date: Wed, 10 Jul 2013 15:07:22 +0000 (+0100) Subject: st-theme-node: fix obvious size comparison error X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3951 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1c04ae3216a007b2b2e49380b76374e6f22ef60f;p=gnome-shell.git st-theme-node: fix obvious size comparison error https://bugzilla.gnome.org/show_bug.cgi?id=703997 --- diff --git a/src/st/st-theme-node-drawing.c b/src/st/st-theme-node-drawing.c index e8ba869d3..9e052a59c 100644 --- a/src/st/st-theme-node-drawing.c +++ b/src/st/st-theme-node-drawing.c @@ -2347,7 +2347,7 @@ st_theme_node_needs_new_box_shadow_for_size (StThemeNodePaintState *state, /* The allocation hasn't changed, no need to recompute a new box-shadow. */ - if (state->alloc_width == width || + if (state->alloc_width == width && state->alloc_height == height) return FALSE;